// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["fullTextSearch"]
}

datasource db {
  provider = "sqlite"
  url      = env("DATABASE_URL")
}

model User {
  id       String @id @default(uuid())
  email    String
  password String
  name     String
  createdEmployee Employee[]
}

model Employee {
  id String @id @default(uuid())
  firstName String
  lastName String
  age String
  address String
  user User @relation(fields: [userId], references: [id])
  userId String
}